package com.czl.elm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czl.elm.domain.Users;
import com.czl.elm.domain.UsersLoginParam;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zuoleiChen
 * @since 2021-05-15
 */
@Mapper
@Repository
public interface UsersMapper extends BaseMapper<Users> {
    Users selectUserByName(String name);


    Integer setUsersPassword(String newpass, String phoneName);

    Integer setUsersUserName(String phoneName, String userName);

    Integer setUsersInfo(String phoneName, String info);

    Integer setUsersBirthday(String phoneName, String data);

    Integer setUsersProfile(String path, String phoneName);
}
